package com.kxmall.vehicle.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kxmall.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 餐车入柜商品信息表 kx_vehicle_box_up_goods
 */
@Data
@TableName("kx_vehicle_box_up_goods")
@EqualsAndHashCode(callSuper = true)
public class KxVehicleBoxUpGoods extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 餐车入柜商品信息表ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 餐车id
     */
    private Long vehicleId;
    /**
     * 餐车动力单元编号
     */
    private String vehicleNo;
    /**
     * 餐车号/名称
     */
    private String vehicleName;
    /**
     * 餐车柜格索引 1~24
     */
    private Integer boxIndex;
    /**
     * 餐车调入商品表ID
     */
    private Long inGoodsId;
    /**
     * 数量
     */
    private Integer count;
    /**
     * 单价
     */
    private BigDecimal price;
    /**
     * 总价
     */
    private BigDecimal amount;
    /**
     * 餐车商品入柜单号
     */
    private String goodsNumbers;
    /**
     * 餐车柜子内商品销售状态 0:下架或已售; 1:上架且未售
     */
    private Integer salesStatus;
    /**
     * 上架人
     */
    private String upPerson;
    /**
     * 上架时间
     */
    private Date upTime = new Date();
    /**
     * 上架日期
     */
    private Date upDay = new Date();
    /**
     * 备注
     */
    private String remarks;

}
